#ifndef _ETATROBOTENCHARGE_H_
#define _ETATROBOTENCHARGE_H_
#include "EtatRobotEnRoute.h"

using namespace std;

class EtatRobotEnCharge: protected EtatRobotEnRoute {
private:
	static EtatRobotEnCharge* instance;
	EtatRobotEnCharge(Robot* r) :
		EtatRobotEnRoute(r) {
	}
public:
	static EtatRobotEnCharge* getInstance(Robot* r);

	void avancer(int, int);
	void tourner(string);
	int peser();
	void rencontrerObstacle(Obstacle* o);
};

#endif
